package com.lst.api.service;

import com.lst.api.entity.Product;
import com.lst.api.vo.response.MatchProductResponse;
import com.lst.tools.mybatis.service.IBaseService;

import java.util.List;

/**
 * 贷款产品表业务层
 *
 * @author Frank
 * @date 2019-12-30 10:31:37
 * @version: V1.0
 */
public interface IProductService extends IBaseService<Product> {

    /**
     * 根据申请单id获取匹配的产品
     * @param applyNo
     * @return
     */
    List<MatchProductResponse> listMatchProductByApplyNo(String applyNo);

    /**
     * 根据税务等级获取匹配的产品
     * @param taxLevel
     * @return
     */
    List<Product> listByTaxLevel(String taxLevel);
}
